home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 41
/
Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso
/
-seriously_amiga-
/
virus
/
virus_checkerii
/
arexx
/
onlinecheck.rexx
next >
Wrap
OS/2 REXX Batch file
|
1999-04-19
|
775b
|
36 lines
/* Notifywatch example
Simple example which shows how you can easily have VC check
recent uploaded files. This script offcourse has to be expanded
if you want more then VC just telling you what has happened.
Another drawback is also that it stops as soon as it has received
one notify change.
Maybe someone likes to code this in a better way, I am not an Arexx
coder you know.
*/
options results
address 'Virus_CheckerII' 'NOTIFYWATCH Pinkie'
if VCHECK.0.0 = 0 then do
say 'No viruses found in scan'
call stopnotify
exit
end
say 'Viruses found: ='VCHECK.0.0
do x=1 to VCHECK.0.0
say 'Filename was "'VCHECK.x.1'" and virus was "'VCHECK.x.2'"'
end
call stopnotify
exit
stopnotify:
address 'Virus_CheckerII' 'STOPNOTIFYWATCH Pinkie'
return